* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 200%;
    font-family: "Microsoft YaHei";
}

.modal {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 229, 229, .8);
}

.modal.hidden {
    display: none;
}

.modal .modal-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 300px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    box-shadow: 0px 0px 5px #aaa;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal .close {
    float: right;
    width: 30px;
    line-height: 30px;
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transform: rotate(45deg);
    transition: all .2s linear;
}
.modal .close:hover {
    transform: rotate(0deg);
}

.modal .modal-header {
    width: 100%;
    height: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #00bfa5;
}

.modal .modal-body {
    margin: 50px auto;
    width: 500px;
}

.modal .modal-button {
    font-family: "Microsoft YaHei";
    float: right;
    margin: 100px 0 0 20px;
    width: 80px;
    height: 30px;
    font-size: .8rem;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

.modal .success {
    background-color: #00bfa5;
}

.modal .success:hover {
    background-color: #00af95;
}

.modal .cancel:hover {
    background-color: #aaa;
}

.modal .modal-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20px;
    background-color: #00bfa5;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn {
    font-family: "Microsoft YaHei";
    position: relative;
    display: block;
    margin: 400px auto;
    width: 250px;
    height: 30px;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: .8rem;
    cursor: pointer;
}

.btn-primary {
    background-color: #00cfa5;
}
.btn-primary:hover {
    background-color: #00bfa5;
}